@font-face {
    font-family: 'iconfont';
    src: url('../fonts/iconfont.woff2') format('woff2'),
        url('../fonts/iconfont.woff') format('woff'),
        url('../fonts/iconfont.ttf') format('truetype');
}

.iconfont {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#head {
    background-color: #ed1d24;

    .container {
        display: flex;
        align-items: center;

        .left {
            width: 50%;
            padding: 1rem 0;
            display: flex;
            justify-content: flex-start;

            .item {
                padding-right: 1.5rem;

                span {
                    color: #fff;
                    font-size: 1.28rem;

                    &:last-child {
                        padding-left: .5rem;
                    }
                }

            }
        }

        .right {
            width: 50%;
            display: flex;
            justify-content: flex-end;

            .icon {
                width: 30px;
                height: 30px;
                margin: 1rem .5rem;
                background-color: #d70e15;
                border-radius: 50%;
                display: flex;
                justify-content: center;
                align-items: center;
                transition: .5s;

                &:hover {
                    background-color: transparent;
                }

                span {
                    color: #fff;
                }
            }
        }
    }

    @media screen and (max-width:920px) {
        .container {
            .left {
                .item {
                    display: flex;
                    flex-direction: column;
                    align-items: center;

                    span:last-child {
                        font-size: 1rem;
                    }
                }
            }
        }
    }

    @media screen and (max-width:770px) {
        .container {
            display: none;
        }
    }
}

#header {
    top: -1px;
    margin-bottom: -35px;
    z-index: 999;
    background-color: rgba(255, 255, 255);

    .navbar-white {
        background-color: rgba(255, 255, 255);
        border: 0;
        border-radius: 0;
        position: relative;
        z-index: 999;

        .container {
            padding: 2rem 1.5rem;

            .navbar-header {
                .navbar-brand {
                    font-size: 3rem;
                    color: #191919;

                    span {
                        color: #ed1d24;
                    }
                }
            }

            .collapse {
                .nav {
                    margin: -14px;

                    >li {
                        color: #4f4e4e;
                        font-size: 1.8rem;
                        text-transform: uppercase;
                        padding: 5px 0;
                        margin: 10px 15px;

                        >a {
                            border-bottom: 3px solid transparent;

                        }

                        &:hover>a {
                            color: #ed1d24;
                            border-bottom: 3px solid #000000 !important;

                        }

                        .dropdown-menu {
                            // background-color: rgba(255, 255, 255, .5);
                            background-color: #ffffffeb;
                        }

                        &:hover>.dropdown-menu {
                            display: block;
                            background-color: #ffffffeb;

                            a {
                                color: #737373;

                                &:hover {
                                    color: #737373;
                                }
                            }

                            .dropdown {
                                background-color: #ffffffeb;

                                a {
                                    padding: 3px 10px 3px 20px;
                                    color: #737373;

                                    span {
                                        transform: rotate(-90deg);
                                        margin-left: 60px;
                                        color: #737373;
                                    }
                                }

                                &:hover {

                                    .er {
                                        display: block;
                                        left: 100%;
                                        top: -10px;
                                    }

                                }

                            }

                        }
                    }
                }
            }

            @media screen and (max-width:1200px) {
                .navbar-header {
                    .navbar-brand {
                        font-size: 2rem;
                    }
                }

                .collapse {
                    .nav {
                        li {
                            font-size: 1.4rem;
                        }
                    }

                }
            }

            @media screen and (max-width:967px) {
                .navbar-header {
                    .navbar-brand {
                        font-size: 2rem;
                    }
                }

                .collapse {
                    .nav {
                        li {
                            font-size: 1.2rem;
                            margin: 10px 0;
                        }



                    }

                }
            }

            @media screen and (max-width:770px) {
                .navbar-header {
                    .navbar-brand {
                        font-size: 3rem;
                    }
                }

                .collapse {
                    .nav {
                        li {
                            font-size: 1.8rem;


                        }

                        .dropdown {
                            a {
                                margin-bottom: 5px;
                            }

                            .dropdown-menu {

                                position: static;
                                float: none;
                                margin-top: -20px;
                                background-color: transparent;
                                border: 0;
                                transform: translateY(15px);
                                -webkit-box-shadow: none;
                                box-shadow: none;
                                width: 100%;

                                .dropdown {
                                    a {
                                        span {
                                            transform: rotate(0deg) !important;
                                        }
                                    }
                                }

                            }

                        }
                    }

                }
            }
        }
    }
}

//小标题样式
#titles {
    .container {
        display: flex;
        flex-direction: column;
        align-items: center;

        .title {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-top: 40px;

            h1 {
                width: auto;
                font-size: 5rem;
                line-height: 80px;
                color: #000;
                border-bottom: 2px solid #ed1d24;
            }

            p {
                font-size: 3rem;
                color: #717376;
                margin-top: 30px;
                margin-bottom: 90px;
            }
        }
    }
    @media screen and(max-width:415px) {
        .container {
            .title {
                h1 {
                    font-size: 4rem;
                }
            }
        }
    }
}

#buttom {
    background-color: #2b2b2d;
    padding: 3rem 0 3.5rem;

    .container {
        display: flex;
        flex-direction: column;
        align-items: center;

        .top {
            display: flex;
            flex-wrap: wrap;
            width: 89%;

            .buttom {
                &:nth-child(1) {
                    width: 50%;
                }

                &:nth-child(2) {
                    width: 24%;
                }

                &:nth-child(3) {
                    width: 22%;
                }

                display: flex;
                padding: 2rem 0 0;
                flex-direction: column;
                border-bottom: 1px solid #313333;


                .logo {

                    font-size: 3rem;
                    color: #fff;

                    span {
                        color: #ed1d24;
                    }

                }

                .conte {
                    display: flex;
                    flex-direction: column;
                    margin-top: 2rem;

                    p {
                        width: 90%;
                        color: #d0d0d0;
                        font-size: 2rem;
                    }

                    .icon {
                        display: flex;
                        margin-top: 20px;

                        .icon1 {
                            width: 30px;
                            height: 30px;
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            border-radius: 50%;
                            transition: all .5s;

                            span {
                                color: #ed1d24;
                                transition: all .5s;
                            }

                            &:hover {
                                border: 1px solid #ed1d24;

                                span {
                                    color: white;
                                }
                            }
                        }
                    }
                }

                .a {

                    font-size: 2.6rem;
                    color: white;
                    border-bottom: 1px solid #313333;
                    margin: 0 5% 0 5%;
                }

                .a1 {

                    font-size: 2rem;
                    display: flex;
                    flex-direction: column;
                    margin: 2rem 5% 0 5%;

                    a {
                        color: #e9e9e9;
                        margin-bottom: 10px;

                        &:hover {
                            text-decoration: underline;
                        }
                    }
                }

                .b {
                    margin: 0 5% 0 5%;
                    font-size: 2.6rem;
                    color: white;
                    border-bottom: 1px solid #313333;
                }

                .b1 {
                    margin-top: 2rem;
                    font-size: 1.6rem;
                    color: #e0dfdf;
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    margin: 2rem 5% 0 5%;

                    .item {
                        display: flex;
                        margin-bottom: 20px;
                        align-items: center;

                        span:nth-child(1) {
                            width: 40px;
                            height: 40px;
                            margin-right: 10px;
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            border-radius: 50%;
                            font-size: 2rem;
                            background-color: #393939;
                            color: #ed1d24;

                            &:hover {
                                background-color: #494949;
                            }
                        }
                    }
                }

            }
        }

        .buttom1 {
            width: 89%;
            display: flex;
            padding: 2rem 0 0;
            justify-content: space-between;
            align-items: center;

            .left {
                width: 34%;

                p {
                    width: 60%;
                    font-size: 1.4rem;
                    color: #fafafa;
                    text-align: center;
                }
            }

            .right {
                display: flex;

                a {
                    margin-left: 50px;
                    width: 20%;
                    font-size: 1.5rem;
                    color: #e9e9e9;
                    margin-bottom: 10px;

                    &:hover {
                        text-decoration: underline;
                    }
                }
            }
        }

        @media screen and(max-width:1286px) {
            .top {
                .buttom {
                    .b1 {
                        .item {
                            span {
                                font-size: 1.2rem;
                            }
                        }
                    }
                }
            }
        }

        @media screen and(max-width:1000px) {
            .top {
                .buttom {

                    .conte {
                        p {
                            font-size: 1.6rem;
                        }
                    }
                }
            }
        }

        @media screen and(max-width:912px) {
            .top {
                .buttom {
                    &:nth-child(1) {
                        width: 60%;
                        border: none;
                    }

                    &:nth-child(2) {
                        width: 30%;
                        border: none;
                    }

                    &:nth-child(3) {
                        width: 100%;
                    }

                    .b {
                        width: 50%;
                    }

                    .conte {
                        p {
                            font-size: 2rem;
                        }
                    }

                    .b1 {
                        .item {
                            span {
                                font-size: 1.6rem;
                            }
                        }
                    }
                }

            }
        }

        @media screen and (max-width:786px) {
            .top {
                .buttom {
                    .conte{
                        display: none;
                    }
                    .b{
                        display: none;
                    }

                    .a {
                        text-align: right;
                        margin-top: 10px;
                        font-size: 1.6rem;
                    }
                    .a1{
                        display: none;
                    }
                }
            }

            .buttom1 {
                flex-direction: column;

                .left {
                    width: 100%;

                    p {
                        width: 100%;
                    }
                }

                .right {
                    width: 90%;
                    margin-top: 20px;
                }
            }
        }

        @media screen and(max-width:415px) {
            .top {
                .buttom {
                    &:nth-child(1) {
                        width: 50% !important;
                        border: none;
                    }

                    &:nth-child(2) {
                        width: 50% !important;
                        border: none;
                    }

                    .logo {
                        font-size: 2rem;
                    }
                    .conte{
                        display: none;
                    }
                    .b{
                        display: none;
                    }

                    .a {
                        font-size: 2rem;
                        text-align: right;
                        margin-top: 0;
                    }
                    .a1{
                        display: none;
                    }

                    .b,
                    .b1 {
                        margin-left: 0 !important;
                    }

                }

            }

            .buttom1 {
                .right {
                    a {
                        margin-left: 0px;
                    }
                }
            }

        }
    }
}

#back {
    width: 50px;
    height: 50px;
    position: sticky;
    bottom: 40px;
    left: 90%;
    margin-top: -60px;
    background-color: #ed1d24;
    justify-content: center;
    align-items: center;
    opacity: 0;

    a {
        span {
            color: white;
            font-size: 5rem;
        }
    }

}

@media screen and(max-width:415px) {
    #back {
        width: 30px;
        height: 30px;

        a {
            span {

                font-size: 3rem;
            }
        }
    }

}

#jiazhai {
    width: 100vw;
    height: 100vh;
    background-color: #fff;
    position: fixed;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    animation: aa .5s linear both;
}

@keyframes aa {
    0% {
        display: flex;
    }

    100% {
        display: none;
    }

}